package edu.aut.bme.hu.orkomet;

import java.text.DateFormat;
import java.util.Date;
import java.util.logging.LogRecord;

public class LogRecordView {
	private LogRecord logRecord;
	
	
	public String getMessage(){
		return logRecord.getMessage();
	}
	
	public String getRecordDate(){
		return DateFormat.getInstance().format(new Date(logRecord.getMillis()));
	}
	
	public LogRecordView(LogRecord lr)
	{
		logRecord=lr;
	}
}
